package com.zhj.edu.constance;

public class RedisConstance {

    //这个是限流的前缀
    private static final String LIMIT_PREFIX = "limit:";

    //黑名单的前缀
    private static final String BLACK_PREFIX = "black:";

    //这个集合的主要功能是请求记录的这个集合的名字
    private static final String REQ_RECORD_NAME = "req:record";

    public static String getLimitPrefix() {
        return LIMIT_PREFIX;
    }

    public static String getBlackPrefix() {
        return BLACK_PREFIX;
    }

    public static String getReqRecordName() {
        return REQ_RECORD_NAME;
    }
}
